package com.hqyj.system.service;

import com.hqyj.system.model.SysPermission;

import java.io.IOException;
import java.util.List;

public interface SysPermissionService {
    List<SysPermission> queryAllSysPermission() throws IOException;

    int addSysPermissionBySysPermission(SysPermission sysPermission) throws IOException;

    int deleteSysPermissionByPermissionId(int permissionId) throws IOException;

    SysPermission querySysPermissionByPermissionId(int permissionId) throws IOException;

    int updateSysPermissionBySysPermission(SysPermission sysPermission) throws IOException;
}
